import { defineStore } from 'pinia';

export const useUserStore = defineStore('user', {
	state: () => {
		return {
			ticket: {},
		};
	},
	getters: {
		getTicket(state) {
			return state.ticket;
		},
	},
	actions: {
		setTicketState(obj) {
			this.ticket = obj;
		},
	},
});
